<template>
  <div>
    <!--  >=2级菜单 -->
    <keep-alive :exclude="excludeComponentsName">
      <router-view class="avue-view" v-if="$route.meta.keepAlive" />
    </keep-alive>
    <router-view class="avue-view" v-if="!$route.meta.keepAlive" />
  </div>
</template>
<script>
import { multilevelMenu } from '@/config/noCacheList.js';
export default {
  data() {
    return {
      excludeComponentsName: multilevelMenu
    };
  }
};
</script>
